﻿using System;

namespace FrameWork.IService
{
   public interface ISocketService
   {
        /// <summary>
        /// 接收并发送消息
        /// </summary>
        /// <param name="socketid"></param>
        /// <param name="context"></param>
        /// <returns></returns>
        ArraySegment<byte> ReceiveAndSend(string socketid, ArraySegment<byte> context);
    }
}
